package com.lemon.ashe.service.impl;

import com.lemon.ashe.mapper.AccountTblMapper;
import com.lemon.ashe.model.po.AccountTbl;
import com.lemon.ashe.service.IOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: SpringBootZoo
 * @author: Mr.Young
 * @create: 2021/4/15 23:02
 **/
@Service
public class OrderServiceImpl implements IOrderService {

    @Autowired
    private AccountTblMapper accountTblMapper;

    @Override
    public AccountTbl getById(Integer id) {
        return accountTblMapper.selectByPrimaryKey(id);
    }
}
